package com.gexiaobao.pigeon.app.model.bean

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

/**
 * @Author      : hxw
 * @Date        : 2023/12/12 9:33
 * @Describe    :
 */
@Parcelize
class FlashSaleGoodsListResponse(

    var total: Int = 0,
    var list: ArrayList<ListBean> = ArrayList()

) : Parcelable {

    /**
     * 数据是否为空
     */
    fun isEmpty() = list == null || (list as List<*>).isEmpty()

    @Parcelize
    class ListBean(

        val goodsId: Int = 0,
        var state: Int = 0,
        val goodsName: String = "",
        val goodsSpecId: Int = 0,
        val goodsSpecName: String = "",
        val imagePath: String = "",
        val salePrice: Double = 0.0,
        val originalPrice: Double = 0.0,
        val goodEavlSate: Double = 0.0,

        ) : Parcelable

}